<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/set-up.css" />
	</head>

	<body>
		<div class="web">
			<header>
				<div class="img"><a href="mine.html"><img src="img/icon_back.png"/></a></div>
				<p>设置</p>
			</header>

			<div id="big1">
				<div class="click">
					<p>确定要清除本地缓存吗</p>
					<form action="" method="post">
						<hr />
						<input type="button" onclick="close1()"  value="取消" />
						<input type="button" onclick="close1()"  value="确定" />
					</form>
				</div>
			</div>
			<div id="big2">
				<div class="click">
					<p>确定要拨打客服电话吗？</p>
					<p>400-777-1357</p>
					<form action="" method="post">
						<hr />
						<input type="button" onclick="close2()"  value="取消" />
						<input type="button" onclick="close2()"  value="确定" />
					</form>
				</div>
			</div>

			<section>
				<div class="type clearfix">
					<p class="fl">清除本地缓存</p>
					<p class="fr">
						3.62M
						<a onclick="open1()">&gt;</a>
					</p>
				</div>
				<div class="type clearfix">
					<p class="fl">客服电话</p>
					<p class="fr">
						（400-777-1357）
						<a onclick="open2()">&gt;</a>
					</p>
				</div>
				<div class="type clearfix">
					<p class="fl">服务协议</p>
					<p class="fr">
						优呗商城服务协议
						<a href="service-agreement.html">&gt;</a>
					</p>
				</div>
				<div class="type t4 clearfix">
					<p class="fl">版本信息</p>
					<p class="fr">
						V4.43
						<a href="versionv-information.html">&gt;</a>
					</p>
				</div>
				<div class="foot">
					<a href="">退出登录</a>
				</div>
			</section>
		</div>

		<script type="text/javascript">
			function open1() {
				document.getElementById("big1").style.display = "block";
			}

			function close1() {
				document.getElementById("big1").style.display = "none";
			}
			
			function open2() {
				document.getElementById("big2").style.display = "block";
			}

			function close2() {
				document.getElementById("big2").style.display = "none";
			}
		</script>

		<script>
			document.body.style.height = window.innerHeight + "px";

			/*动态改变根元素字体大小*/
			function recalc() {
				var clientWidth = document.documentElement.clientWidth;
				if(!clientWidth) return;
				document.documentElement.style.fontSize = 40 * (clientWidth / 640) + 'px';
				//字体大小   =1个rem单位表示多少个像素*(设备的宽度 /设计宽度)
			}

			function initRecalc() {
				recalc();
				var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
				if(!document.addEventListener) return;
				window.addEventListener(resizeEvt, recalc, false);
				document.addEventListener('DOMContentLoaded', recalc, false);
			}
			initRecalc();
		</script>

	</body>

</html>